
html{
    scroll-behavior:smooth
}

*{  
    margin: 0;
    text-decoration: none;
}
body::before{
    content: '';
    display: block;
    position: fixed; /* 或者 relative，根据需要选择 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../backgroun.jpg); /* 替换为您的图片路径 */
    background-size: cover; /* 覆盖整个容器 */
    -webkit-filter: opacity(0.5); /* 对于旧版浏览器 */
    filter: opacity(0.5); /* 标准语法 */
    z-index: -1; /
}
.fengexian{
    border: 1px solid #000;
    width: 100%;
}
.head{
    width: 100%;
    height: 50px;
    /* background-color: rgb(4, 99, 4); */
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    -moz-box-shadow:0px 2px 5px #333333; 
    -webkit-box-shadow:0px 2px 5px #333333; 
    box-shadow:0px 2px 5px #333333;
}
.head1{
    width: 25%;
    height: 50px;
    /* background-color: aquamarine; */
    text-align: left;
    line-height: 50px;
    font-size: 1.2rem;
}
.head2{
    width: 50%;
    height: 50px;
    /* background-color: rgb(214, 48, 98); */
    line-height: 50px;
    font-size: 1.2rem;
    text-align: center;
    transition: .3s;
}
.head2:hover{
    background-color: rgb(94, 140, 232);
    color: white;
}
.xiala{
    background-color: white;
    width: 60%;
    height: 0px;
    margin: 0 auto;
    overflow: hidden;
    transition: .3s;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10000;
    border-radius: 0px 0px 10px 10px;
    -moz-box-shadow:0px 2px 5px #333333; 
    -webkit-box-shadow:0px 2px 5px #333333; 
    box-shadow:0px 2px 5px #333333;
}
/* 这里是调节头标题的a样式，以方便实现点击触发锚点跳转 */
.xiala>a{
    display: block;
    color: black;
    height: 50px;
    width: 20%;
    text-align: center;
    line-height: 50px;
    transition: .3s;
    border-radius: 10px;
}
.xiala>a:hover{
    background-color:  rgb(94, 140, 232) ;
    color: white;
}
/* ----------------------------------------------- */
.head3{
    width: 25%;
    height: 50px;
    /* background-color: rgb(233, 229, 20); */
}
.lunbo{
    margin: 0 auto;
    margin-top: 20px;
    width: 75%;
    height: 0%;
    padding-top: 40%;
    /* background-color: black; */
    margin-bottom: 10px;

    position: relative;
    background-image: url(../轮播图素材/c2.png);
    background-size: cover;
    transition: .3s;
    border-radius: 10px;
}
.lunbo>div{
    cursor: pointer;
}
.last{
    position: absolute;
    width: 5%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    background-color:rgb(127, 127, 127,0.5);
    font-size: 3rem;
    display: flex;
    align-items:center ;
    justify-content: center;
    border-radius: 10px 0px 0px 10px;
    transition: .3s;
}

.next{
    position: absolute;
    width: 5%;
    height: 100%;
    right: 0px;
    bottom: 0px;
    font-size: 3rem;
    background-color:rgb(127, 127, 127,0.5);
    display: flex;
    align-items:center ;
    justify-content: center;
    border-radius: 0px 10px 10px 0px;
    transition: .3s;
}

.foot{
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    width: 50%;
    left: 25%;
    right: 25%;
    color: aliceblue;
    font-size: 3rem;
    height: 12%;
    align-items: center;
}

.xuanzhong{
    transform: scale(130%) translateX(7.5%);
    color:  rgb(94, 140, 232);
    transition: .3s;
}

/* 这里是课程列表的css */

.lessonlist{
    margin: 50px auto;
    width: 85%;
    height: auto;
    /* background-color: aquamarine; */
}
.list{
    margin: 0 auto;
    width: 80%;
    height: 0%;
    padding-top: 1%;
    /* background-color: brown; */
    padding: 0.5%;
    margin: 10px auto   ;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    border: 1px solid #000;
    border-radius: 10px;
    margin-top: 30px;
    transition: .3s;
}
.list:hover{
    -moz-box-shadow:0px 0px 5px  rgb(94, 140, 232); 
    -webkit-box-shadow:0px 0px 5px  rgb(94, 140, 232); 
    box-shadow:0px 0px 5px  rgb(94, 140, 232);
}
.listcard{
    width: 90%;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    transition: .3s;
    margin-top: 20px;
}
.listcard>div{
    
    width: 256px;
    height: 144px;
    margin: 20px 10px;
    border: 1px solid #000;
    border-radius: 10px;
    transition: .3s;
    
}
.listcard>div:hover{
    transform: scale(1.05);
}

.listcard_english{
    width:100%;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    transition: .3s;
    margin-top: 20px;
}
.listcard_english>div{
    
    width: 317px;
    height: 174px;
    margin: 20px auto;
    border: 1px solid #000;
    border-radius: 10px;
    transition: .3s;
}
.listcard_english img{
    width: 100%;
    height: 100%;
}

.listcard_english>div:hover{
    transform: scale(1.05);
}
.arr{
    transition: .1s;
}


/* 关于我们 */
.about{
    margin-top: 50px;
    width: 100%;
    height: auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* background-color: blueviolet; */
    margin-bottom: 50px;
}
.about>div{
    text-align: center;
}
.guanyu{
    margin-top: 30px;
    text-align: center;
    width: 100%;
    height: auto;
}
.touxiang{
    margin: 10px 10px;
    height: 200px;
    width: 200px;
    border: 1px solid #000;
    border-radius: 50%;
}
.java-img{
    width: 256px;
    height: 144px;
    border-radius: 5%;
}
.touxiang{
    overflow: hidden;
}
.touxiang>img{
    width: 100%;
}
body{
    background-color: white;
}
.last:hover{
    background-color:rgb(94, 140, 232,0.5) ;
}
.next:hover{
    background-color:rgb(94, 140, 232,0.5) ;
}